package com.ruoyi.applet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 图片对象 images
 * 
 * @author ruoyi
 * @date 2024-11-14
 */
public class Images extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片唯一标识 */
    private Long imagesId;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imagesUrl;

    /** 图片类型（1：轮播图 2：商品规格图） */
    @Excel(name = "图片类型", readConverterExp = "1=：轮播图,2=：商品规格图")
    private Long imagesType;

    /** 图片对应的商品 */
    @Excel(name = "图片对应的商品")
    private Long imagesGoodsId;

    /** 图片下标 */
    @Excel(name = "图片下标")
    private Long imagesGoodsIndex;

    public void setImagesId(Long imagesId) 
    {
        this.imagesId = imagesId;
    }

    public Long getImagesId() 
    {
        return imagesId;
    }
    public void setImagesUrl(String imagesUrl) 
    {
        this.imagesUrl = imagesUrl;
    }

    public String getImagesUrl() 
    {
        return imagesUrl;
    }
    public void setImagesType(Long imagesType) 
    {
        this.imagesType = imagesType;
    }

    public Long getImagesType() 
    {
        return imagesType;
    }
    public void setImagesGoodsId(Long imagesGoodsId) 
    {
        this.imagesGoodsId = imagesGoodsId;
    }

    public Long getImagesGoodsId() 
    {
        return imagesGoodsId;
    }
    public void setImagesGoodsIndex(Long imagesGoodsIndex) 
    {
        this.imagesGoodsIndex = imagesGoodsIndex;
    }

    public Long getImagesGoodsIndex() 
    {
        return imagesGoodsIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imagesId", getImagesId())
            .append("imagesUrl", getImagesUrl())
            .append("imagesType", getImagesType())
            .append("imagesGoodsId", getImagesGoodsId())
            .append("imagesGoodsIndex", getImagesGoodsIndex())
            .toString();
    }
}
